
#include "dominion.h"
#include <stdio.h>
#include "rngs.h"
#include <assert.h>
#include <stdlib.h>
#include <math.h>

void GreatHallfunctions(int i, int numPlayers, int num1, int k[10],
		struct gameState* GameS, int cardholder, int gsNum, int handPos,
		int num2, char** argv) {
	for (i = 2; i < 5; i++) {
		numPlayers = i;
		for (num1 = 0; num1 < numPlayers; num1++) {
			initializeGame(numPlayers, k, atoi(argv[1]), &*GameS);
			GameS->whoseTurn = num1;
			cardholder = GameS->handCount[num1];
			gsNum = GameS->gsNum;
			cardEffect(great_hall, 0, 0, 1, &*GameS, handPos, &num2);
			if (GameS->handCount[num1] == cardholder) {

			}
			else 
				printf("something ahppened during equal cardholer");
			if (GameS->gsNum == gsNum + 1) {
			}
		}
	}
}

int main(int argc, char** argv){
    struct gameState GameS;
    int k[10] = {adventurer, gardens, embargo, village, minion, mine, cutpurse,
        sea_hag, baron, great_hall};
    int numPlayers = 2 , i = 0, handPos = 0, num1 = 0;
    int num2 = 0;
    int cardholder;
    int gsNum;
	GreatHallfunctions(i, numPlayers, num1, k, &GameS, cardholder, gsNum,
			handPos, num2, argv);
    printf("card test passsed \n");

    return 0;
}

